package com.qzsoft.zhjd.server.modules.ludong.weigh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 功能描述：地磅
 * @author jiangyafei
 * @email jiangyf_sd@163.com
 * @date 2020-06-09 11:17:29
 */
@Data
@TableName("weigh_bridge")
public class WeighBridgeEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 数据唯一性识别
	 */
	@TableId(type = IdType.UUID)
	private String id;
	/**
	 * 任务单ID
	 */
	private String taskNo;
	/**
	 * 所属项目ID
	 */
	private String organizationId;
	/**
	 * 所属标段名称
	 */
	private String sectionName;
	/**
	 * 所属标段ID
	 */
	private String sectionId;
	/**
	 * 所属拌合站名称
	 */
	private String mixingStationName;
	/**
	 * 所属拌合站ID
	 */
	private String mixingStationCode;
	/**
	 * 设备编号
	 */
	private String equipmentNumber;
	/**
	 * 设备名称
	 */
	private String equipmentName;
	/**
	 * 品牌
	 */
	private String materialBrand;
	/**
	 * 供应商（销售商）
	 */
	private String materialVendor;
	/**
	 * 物资种类（货名）
	 */
	private String materialType;
	/**
	 * 物资规格
	 */
	private String materialSpec;
	/**
	 * 批次
	 */
	private String materialBatch;
	/**
	 * 生产日期
	 */
	private Date productionDate;
	/**
	 * 发货地点
	 */
	private String sendingPlace;
	/**
	 * 收货地点
	 */
	private String receivingPlace;
	/**
	 * 毛重（吨）
	 */
	private BigDecimal grossWeight;
	/**
	 * 皮重车重（吨）
	 */
	private BigDecimal tareWeight;
	/**
	 * 净重（吨）
	 */
	private BigDecimal netWeight;
	/**
	 * 扣量（吨）
	 */
	private BigDecimal deduction;
	/**
	 * 结算重量（吨）//待定
	 */
	private BigDecimal countingWeight;
	/**
	 * 实际重量（吨）
	 */
	private BigDecimal actualWeight;
	/**
	 * 车牌号
	 */
	private String carNumber;
	/**
	 * 进场时间
	 */
	private Date entryTime;
	/**
	 * 出场时间
	 */
	private Date exitTime;
	/**
	 *
	 */
	private Date insertTime;

	/**
	 * 过磅类型(采购/销售/出场/进场)
	 */
	private String weightType;

	/**
	 * 过磅照片1(jpeg)
	 */
	private String imageOne;

	/**
	 * 过磅照片2(jpeg)
	 */
	private String imageTwo;

	/**
	 * 过磅照片3(jpeg)
	 */
	private String imageThree;

	/**
	 * 删除标识(0,未删除,1.已删除)
	 */
	private String isDeleted;

    @Override
    public String toString() {
        return "WeighBridgeEntity [id=" + id + ", taskNo=" + taskNo + ", organizationId=" + organizationId
                + ", sectionName=" + sectionName + ", sectionId=" + sectionId + ", mixingStationName="
                + mixingStationName + ", mixingStationCode=" + mixingStationCode + ", equipmentNumber="
                + equipmentNumber + ", equipmentName=" + equipmentName + ", materialBrand=" + materialBrand
                + ", materialVendor=" + materialVendor + ", materialType=" + materialType + ", materialSpec="
                + materialSpec + ", materialBatch=" + materialBatch + ", productionDate=" + productionDate
                + ", sendingPlace=" + sendingPlace + ", receivingPlace=" + receivingPlace + ", grossWeight="
                + grossWeight + ", tareWeight=" + tareWeight + ", netWeight=" + netWeight + ", deduction=" + deduction
                + ", countingWeight=" + countingWeight + ", actualWeight=" + actualWeight + ", carNumber=" + carNumber
                + ", entryTime=" + entryTime + ", exitTime=" + exitTime + ", insertTime=" + insertTime + ", weightType="
                + weightType + ", isDeleted=" + isDeleted + "]";
    }



}
